Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

re

> With notepad. If there is a programmatic way to change this, that would obviously be better.

Well, i mean, what exactly was added to java.policy? In order to use java.util.logging, next line must be added to default grant section of java.policy file:
permission java.util.logging.LoggingPermission "control";


> I restarted Notes/Designer. Is that sufficient to restart the JVM?
Yes. But i actually thought you were trying to run it on server side (then server restart is required).
As far as i know, when java agent runs in Notes client environment, then default logging output for Logger.logp calls goes to java debug concole. Try checking it out (Tools -> Show Java Debug Concole in Notes Client).


> One of the logging calls uses INFO. And the point of this is to have varying levels of logging that can be adjusted a run-time. Is this goal unattainable with this approach?

When you create a Logger object with Logger.getLogger(CLAZZ_NAME) call, it gets some default logging level, based on LogManager configuration (which is defined by jvm\lib\logging.properties file). Usually the default level is INFO, that is higher than FINE and FINER levels in your calls, which means, in that case, any FINE and FINER calls will be omitted.


Feedback response number WEBB8SYPDM created by ~Anita Elrevitch on 04/02/2012

How to use java.util.logging in a J... (~Vanessa Deskip... 2.Apr.12)
. . possible reasons (~Anita Elrevitc... 2.Apr.12)
. . . . Answers (~Vanessa Deskip... 2.Apr.12)
. . . . . . re (~Anita Elrevitc... 2.Apr.12)
. . . . . . . . Still no joy. (~Vanessa Deskip... 2.Apr.12)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS